package com.junzhiit.nengji.cms.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.junzhiit.nengji.cms.service.ServeTechnicianService;
import com.junzhiit.nengji.cms.web.vo.ResultVO;

import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/serve/technician")
public class ServeTechnicianController extends BaseController{
	
	@Autowired
	private ServeTechnicianService serveTechnicianService;

	@ApiOperation("查找该技师负责的服务")
	@RequestMapping(value="/id",method = RequestMethod.GET)
	public ResultVO findById(String sessionId,String technicianId) {
		return serveTechnicianService.findById(sessionId,technicianId);
	}
}
